home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 2313 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.1 KB

  1. Path: berlin.infomatch.com!pax
  2. From: pax@infomatch.com (Anselmo Amaral)
  3. Newsgroups: comp.lang.c++
  4. Subject: Q: Multiple Objects at runtime
  5. Date: 16 Jan 1996 23:58:44 GMT
  6. Organization: Infomatch Communications
  7. Message-ID: <4dhe3k$5eg@berlin.infomatch.com>
  8. NNTP-Posting-Host: matrix.infomatch.com
  9. X-Newsreader: NN version 6.5.0 #12
  10.  
  11. I would like to create objects at runtime.  For instance lets say that I 
  12. am making a game and in that game I have a monster object I would like to 
  13. copy the object but have different values for each monster but the 
  14. monsters need to be read from a file and each level has a different 
  15. number of monsters in different areas of the world.  I have figured out 
  16. how to create objects and use objects but I do not know how to copy them 
  17. at runtime so If some one out there can help me I would really 
  18. appreiciate it.  
  19.  
  20. Thanks in advance.
  21.  
  22. A.Amaral 
  23. --
  24. -----------------------------------------------------------------------------
  25. "Our object in the construction of the state is the greatest happiness of 
  26. the whole, and not that of any one class."   -- Plato, Republic, 4
  27. * TEAM LINUX *                        pax@infomatch.com
  28.